Enumerating possible Sudoku grids

نویسنده

  • Bertram Felgenhauer
چکیده

In some of these boxes, the setter puts some of the digits 1–9; the aim of the solver is to complete the grid by filling in a digit in every box in such a way that each row, each column, and each 3× 3 box contains each of the digits 1–9 exactly once. In this note, we discuss the problem of enumerating all possible Sudoku grids. This is a very natural problem, but, perhaps surprisingly, it seems unlikely that the problem should have a simple combinatorial answer. Indeed, Sudoku grids are simply special cases of Latin squares, and the enumeration of Latin squares is itself a difficult problem, with no general combinatorial formulae known. Latin squares of sizes up to 11 × 11 have been enumerated, and the methods are broadly brute force calculations, much like the approach we sketch for Sudoku grids below. See [1], [2] and [3] for more details. It is known that the number of 9× 9 Latin squares is 5524751496156892842531225600 ≈ 5.525× 10. Since this answer is enormous, we need to refine our search considerably in order to be able to get an answer in a sensible amount of computing time.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Structure of Reduced Sudoku Grids and the Sudoku Symmetry Group

A Sudoku grid is a constrained Latin square. In this paper a reduced Sudoku grid is described, the properties of which differ, through necessity, from that of a reduced Latin square. The Sudoku symmetry group is presented and applied to determine a mathematical relationship between the number of reduced Sudoku grids and the total number of Sudoku grids for any size. This relationship simplifies...

متن کامل

Enumerating 3D-Sudoku Solutions over Cubic Prefractal Objects

We consider three-dimensional extensions of the Sudoku puzzle over prefractal objects. The prefractal objects we use are 2nd-level cubic approximations of two 3D fractals. Both objects are composed of 81 cubic pieces and they have 9× 9-grid appearances in three orthogonal directions. On each object, our problem is to assign a digit to each of the 81 pieces so that it has a Sudoku solution patte...

متن کامل

Counting the number of Sudoku’s by importance sampling simulation

Stochastic simulation can be applied to estimate the number of feasible solutions in a combinatorial problem. This idea will be illustrated to count the number of possible Sudoku grids. It will be argued why this becomes a rare-event simulation, and how an importance sampling algorithm resolves this difficulty.

متن کامل

There Is No 16-Clue Sudoku: Solving the Sudoku Minimum Number of Clues Problem via Hitting Set Enumeration

The sudoku minimum number of clues problem is the following question: what is the smallest number of clues that a sudoku puzzle can have? For several years it had been conjectured that the answer is 17. We have performed an exhaustive computer search for 16-clue sudoku puzzles, and did not find any, thus proving that the answer is indeed 17. In this article we describe our method and the actual...

متن کامل

Sudoku Squares and Chromatic Polynomials

T he Sudoku puzzle has become a very popular puzzle that many newspapers carry as a daily feature. The puzzle consists of a 9×9 grid in which some of the entries of the grid have a number from 1 to 9. One is then required to complete the grid in such a way that every row, every column, and every one of the nine 3× 3 sub-grids contain the digits from 1 to 9 exactly once. The sub-grids are shown ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005